package com.qiandw.enterprise.credit.entity

import scala.beans.BeanProperty
import com.fasterxml.jackson.databind.annotation.JsonSerialize

/**
  * 模块实体类
  * Created by Draven on 2018/7/9.
  * Email:hjx@qiandw.com
  */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
class Module {
  @BeanProperty
  var id: Integer = _
  @BeanProperty
  var parentId: Integer = _
  @BeanProperty
  var level: Integer = _
  @BeanProperty
  var name: String = _
  @BeanProperty
  var remark: String = _
  @BeanProperty
  var url: String = _
  @BeanProperty
  var seq: Integer = 0
  @BeanProperty
  var child: java.util.List[Module] = _
}
